package com.game.center;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.mongodb.repository.config.EnableMongoRepositories;

@SpringBootApplication(exclude = {SecurityAutoConfiguration.class})
@MapperScan("com.game.framework.dao.mapper")
@ComponentScan(basePackages = {"com.game.center", "com.game.framework.dao"})
@EnableMongoRepositories(basePackages = { "com.game.framework.dao.repository" })
public class GameUserCenterApplication {
	//启动游戏中心服务
	public static void main(String[] args) {
		SpringApplication.run(GameUserCenterApplication.class, args);
	}

}
